Retrieval device, retrieval method, program, and recording medium

ABSTRACT

An equality determination unit obtains [e i ] in which e i =(e i,1 , . . . , e i,N ) is concealed, e i  in which e i,j =a 1  is established when x i,j  is k j  and e i,j =a 0  is established when x i,j  is not k j , by secure computation using a concealed search target word [x i ] and a concealed search word [k]. A wildcard determination unit obtains [w] in which w=(w 1 , . . . , w N ) is concealed, w in which w j =b 1  is established when k j  is a wildcard character and w j =b 0  is established when k j  is not a wildcard character, by secure computation using [k]. An OR operation unit obtains [y i ] in which y i =(y i,1 , . . . , y i,N ) is concealed, y i  in which y i,j =d 1  is established when at least one of e i,j =a 1  and w j =b 1  is satisfied and y i,j =d 0  is established when at least one of e i,j =a 1  and w j =b 1  is not satisfied, by secure computation using [e i ] and [w].

TECHNICAL FIELD

The present invention relates to a secure computation technique and especially relates to a technique for performing retrieval while concealing data.

BACKGROUND ART

A secure computation technique for performing match retrieval while concealing a search word and a search target word group is well known (see Non-patent Literature 1, for example).

PRIOR ART LITERATURE Non-Patent Literature

-   Non-patent Literature 1: Koki Hamada, Naoto Kiribuchi, Dai Ikarashi,     “A Round-Efficient Pattern Matching Algorithm for Secure Multi-Party     Computation”, Computer Security Symposium (CSS), 2014.

SUMMARY OF THE INVENTION Problems to be Solved by the Invention

Though retrieval using a search word, which includes a wildcard character, while concealing the search word is realized in a method of related art, communication efficiency is low and O(N² log N) of communication volume is required when a concealed search target word length and a concealed search word length are both set to N.

An object of the present invention is to efficiently perform match retrieval for concealed database while concealing a search word including a wildcard character.

Means to Solve the Problems

Concealed database [x₁], . . . , [x_(m)] is stored in a storage. A concealed search target word [x_(i)] included in the concealed database [x₁], . . . , [x_(m)] is obtained by concealing a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)). An input unit receives an input of a concealed search word [k]. The concealed search word [k] is obtained by concealing a search word k=(k₁, . . . , k_(n), . . . , k_(N)) including n pieces of characters k₁, . . . , k_(n) including a wildcard character. An equality determination unit obtains a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]. A wildcard determination unit obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character, by secure computation using the concealed search word [k]. An OR operation unit obtains a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]. Here, m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N.

Effects of the Invention

Accordingly, match retrieval for concealed database can be performed with less communication volume than that of related art.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a retrieval system according to embodiments.

FIG. 2 is a block diagram illustrating a retrieval device according to the embodiments.

FIG. 3 is a flow diagram for explaining a retrieval method according to a first embodiment.

FIG. 4 is a conceptual diagram for explaining the retrieval method according to the first embodiment.

FIG. 5 is a conceptual diagram for explaining the retrieval method according to the first embodiment.

FIG. 6 is a conceptual diagram for explaining the retrieval method according to the first embodiment.

FIG. 7 is a conceptual diagram for explaining the retrieval method according to the first embodiment.

FIG. 8 is a conceptual diagram for explaining the retrieval method according to the first embodiment.

FIG. 9 is a conceptual diagram for explaining the retrieval method according to the first embodiment.

FIG. 10 is a flow diagram for explaining a retrieval method according to a second embodiment.

FIG. 11 is a conceptual diagram for explaining the retrieval method according to the second embodiment.

FIG. 12 is a conceptual diagram for explaining the retrieval method according to the second embodiment.

FIG. 13 is a conceptual diagram for explaining the retrieval method according to the second embodiment.

FIG. 14 is a flow diagram for explaining a retrieval method according to a third embodiment.

FIG. 15 is a conceptual diagram for explaining the retrieval method according to the third embodiment.

FIG. 16 is a conceptual diagram for explaining the retrieval method according to the third embodiment.

FIG. 17 is a flow diagram for explaining a retrieval method according to a fourth embodiment.

FIG. 18 is a conceptual diagram for explaining the retrieval method according to the fourth embodiment.

FIG. 19 is a conceptual diagram for explaining the retrieval method according to the fourth embodiment.

FIG. 20 is a flow diagram for explaining a retrieval method according to a fifth embodiment.

FIG. 21 is a conceptual diagram for explaining the retrieval method according to the fifth embodiment.

FIG. 22 is a conceptual diagram for explaining the retrieval method according to the fifth embodiment.

FIG. 23 is a conceptual diagram for explaining the retrieval method according to the fifth embodiment.

FIG. 24 is a conceptual diagram for explaining the retrieval method according to the fifth embodiment.

FIG. 25 is a flow diagram for explaining a retrieval method according to a sixth embodiment.

FIG. 26 is a conceptual diagram for explaining the retrieval method according to the sixth embodiment.

FIG. 27 is a conceptual diagram for explaining the retrieval method according to the sixth embodiment.

FIG. 28 is a conceptual diagram for explaining the retrieval method according to the sixth embodiment.

DETAILED DESCRIPTION OF THE EMBODIMENTS

Embodiments according to the present invention are described below with reference to the accompanying drawings.

First Embodiment

A first embodiment is described. In the present embodiment, exact match search for concealed database is performed while concealing a search word including a wildcard character.

<Configuration>

As illustrated in FIG. 1 , a retrieval system 1 according to the present embodiment includes a request device 11 which requests retrieval and retrieval devices 12-h which perform retrieval, and the retrieval system 1 performs retrieval processing based on secure computation. Here, h=1, . . . , H and H is an integer which is 1 or greater. H≥2 is established when secure computation based on a secret sharing scheme is performed and H=1 is established when secure computation based on a homomorphic cryptosystem is performed.

As illustrated in FIG. 2 , the retrieval device 12-h of the present embodiment includes a control unit 120-h, an equality determination unit 121-h, a wildcard determination unit 122-h, an OR operation unit 123-h, an AND operation unit 127-h, a storage 128-h, an input unit 1291-h, and an output unit 1292-h. The retrieval device 12-h executes each processing under the control of the control unit 120-h. Further, data obtained in respective units are stored in the storage 128-h one by one and read out as needed to be used for other processing.

<Preprocessing>

The storage 128-h stores concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) (see DB in FIG. 4 and FIG. 6 , for example) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)) is concealed. Here, m, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, and t(i)≤N. t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)) included in the search target word x_(i) are normal characters which are retrieval targets. On the other hand, the remaining N−t(i) pieces of characters x_(i,t(i)+1), . . . , x_(i,N) included in the search target word x_(i) are special characters (null characters) representing null values. Null characters are predetermined (“0”, for example) and are not used as normal characters. When t(i)=N, the search target word x_(i) does not include any null characters. Each character is expressed as an element of a finite field, for example. When secure computation based on the secret sharing scheme is performed, the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i). When secure computation based on the homomorphic cryptosystem is performed, the concealed search target word [x_(i)] is a cipher text of the search target word x_(i). A set of concealed values [x_(i,1)], . . . , [x_(i,t(i))], . . . , [x_(i,N)] obtained by separately concealing respective characters x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N) may be defined as the concealed search target word [x_(i)] or N pieces of characters x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N) may be collectively concealed to be defined as the concealed search target word [x_(i)]. Further, each concealed search target word [x_(i)] may be associated with a concealed value of content information representing a content or a position of the content on a network.

<Retrieval Processing>

Retrieval processing of the present embodiment is described with reference to FIG. 3 .

The request device 11 conceals a search word k=(k₁, . . . , k_(n), . . . , k_(N)) (see FIG. 4 and FIG. 6 , for example) including n pieces of characters k₁, . . . , k_(n) so as to obtain a concealed search word [k]. Here, n is a positive integer and n≤N. The characters k₁, . . . , k_(n) may include one or more wildcard characters. Characters other than a wildcard character among the characters k₁, . . . , k_(n) are normal characters. Wildcard characters are predetermined (“*”, for example) and are not used as normal characters. Further, one wildcard character corresponds to one normal character or one null character (the same goes for each of the following embodiments). When the above-described search target word x_(i) (here, i=1, . . . , m) does not include any null characters, any character among the characters k₁, . . . , k_(n) may be a wildcard character. On the other hand, it is assumed that, when the search target word x_(i) includes null characters x_(i,t(i)+1), . . . , x_(i,N), k_(t(i)+1), . . . , k_(N) do not include any wildcard characters in the present embodiment. N−n pieces of characters k_(n+1), . . . , k_(N) included in the search word k are null characters. However, when n=N, the search word k does not include any null characters (see FIG. 4 , for example). A null character included in the search word k is the same as the above-described null character included in the search target word x_(i). When secure computation based on the secret sharing scheme is performed in the retrieval device 12-h, the concealed search word [k] is a secret sharing value of the search word k. On the other hand, when secure computation based on the homomorphic cryptosystem is performed in the retrieval device 12-h, the concealed search word [k] is a cipher text of the search word k. A set of concealed values [k₁], . . . , [k_(n)], . . . , [k_(N)] obtained by separately concealing respective characters k₁, . . . , k_(n), . . . , k_(N) may be defined as the concealed search word [k] or N pieces of characters k₁, . . . , k_(n), . . . , k_(N) may be collectively concealed to be defined as the concealed search word [k].

The request device 11 outputs the concealed search word [k]. The outputted concealed search word [k] is transmitted to the retrieval device 12-h via a network or the like. The concealed search word [k] is inputted into the input unit 1291-h of the retrieval device 12-h to be stored in the storage 128-h (step S1291-h). Subsequently, the following processing is executed for each i=1, . . . , m.

First, the equality determination unit 121-h obtains a concealed operation result [e_(i)], in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k], which are read from the storage 128-h, and outputs the concealed operation result [e_(i)]. Here, e_(i,j)=a₁ is established when x_(i,j) is k_(j) (when x_(i,j)=k_(j)) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j) (when x_(i,j)≠k_(j)). e_(i,j)∈{a₀, a₁}, in which a₀=0 and a₁=1, for example. Since a wildcard character is different from a normal character, e_(i,j)=a₀ is always established when k_(j) is a wildcard character. In a similar manner, since a null character is different from a normal character, e_(i,j)=a₀ is always established when k_(j) is a null character and x_(i,j) is a normal character and when k_(j) is a normal character and x_(i,j) is a null character. Further, when both of k_(j) and x_(i,j) are null characters, e_(i,j)=a₁ is established. For example, the equality determination unit 121-h performs equality determination (match determination) between [k_(j)] and [x_(i,j)] for j=1, . . . , N by secure computation, obtains [e_(i,j)] in which e_(i,j) is concealed, and obtains a set of [e_(i,1)], . . . , [e_(i,N)] as the concealed operation result [e_(i)]. Alternatively, the equality determination unit 121-h may obtain the concealed operation result [e_(i)] in which e_(i,1), . . . , e_(i,N) are collectively concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]. The concealed operation result [e_(i)] is stored in the storage 128-h (step S121-h).

The wildcard determination unit 122-h obtains a concealed operation result [w], in which an operation result w=(w₁, . . . , w_(N)) is concealed, by secure computation using the concealed search word [k] read from the storage 128-h and outputs the concealed operation result [w]. Here, w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character. w_(j)∈{b₀, b₁}, in which b₀=0 and b₁=1, for example. The wildcard determination unit 122-h obtains the concealed operation result [w] by secure computation by using the concealed search word [k] and a concealed wildcard character which is obtained by concealing a wildcard character, for instance. As an example, the wildcard determination unit 122-h performs equality determination between [k_(j)] and the concealed wildcard character for j=1, . . . , N by secure computation, obtains [w_(j)] in which w_(j) is concealed, and obtains a set of [w₁], . . . , [w_(N)] as the concealed operation result [w]. Alternatively, the wildcard determination unit 122-h may obtain the concealed operation result [w] in which w₁, . . . , w_(N) are collectively concealed, by secure computation using the concealed search word [k] and the concealed wildcard character. The concealed operation result [w] is stored in the storage 128-h (step S122-h).

The OR operation unit 123-h obtains a concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w], which are read from the storage 128-h, and outputs the concealed operation result [y_(i)]. Here, y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied. y_(i,j)∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. When a₀=0, a₁=1, b₀=0, b₁=1, d₀=0, and d₁=1, y_(i,j)=e_(i,j)∨w_(j) is established, for example. Here, “∨” denotes a logical sum (OR). For example, the OR operation unit 123-h performs an OR operation between [e_(i,j)] and [w_(j)] for j=1, . . . , N by secure computation, obtains [y_(i,j)] in which y_(i,j)=e_(i,j)∨w_(j) is concealed, and obtains a set of [y_(i,1)], . . . , [y_(i,N)] as the concealed operation result [y_(i)]. Alternatively, the OR operation unit 123-h may obtain the concealed operation result [y_(i)] in which y_(i,1) . . . , y_(i,N) are collectively concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]. The concealed operation result [y_(i)] is stored in the storage 128-h (step S123-h).

The AND operation unit 127-h obtains a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed, by secure computation using the concealed operation result [y_(i)] read from the storage 128-h and outputs the concealed match determination result [z_(i)]. Here, z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied. z_(i)∈{g₀, g₁}, in which g₀=0 and g₁=1, for example. When d₀=0, d₁=1, g₀=0, and g₁=1, z_(i)=y_(i,1)∧ . . . ∧y_(i,N) is established, for example. Here, “∧” denotes a logical product (AND). z_(i)=g₁ represents that the search target word x_(i) is matched with the search word k and z_(i)=g₀ represents that the search target word x_(i) is not matched with the search word k. The concealed match determination result [z_(i)] is stored in the storage 128-h (step S127-h).

The output unit 1292-h outputs the concealed match determination result [z_(i)] for each i=1, . . . , m (step S1292-h). The concealed match determination result [z_(i)] is transmitted to the request device 11 via a network or the like. The request device 11 reconstructs the concealed match determination result [z_(i)] for each i=1, . . . , m so as to obtain z_(i). For example, when secure computation based on the secret sharing scheme is performed, the request device 11 reconstructs z_(i) based on [z_(i)] transmitted from a predetermined number or more of the retrieval devices 12-h. On the other hand, when secure computation based on the homomorphic cryptosystem is performed, the transmitted [z_(i)] is decrypted to obtain z_(i). Thus, retrieval results for respective i are obtained. After that, processing using these retrieval results (request for concealed values of content information corresponding to the matched concealed search target word [x_(i)], for example) is executed.

Specific Example

A specific example for the case where a₀=0, a₁=1, b₀=0, b₁=1, d₀=0, d₁=1, g₀=0, and g₁=1 is described below.

As illustrated in FIG. 4 , e₁=(1, . . . , 1, 0, 1, . . . , 1), w=(0, . . . , 0, 1, 0, . . . , 0), and y₁=(1, . . . , 1, 1, 1, . . . , 1) when N=n=t(i), k_(r) is a wildcard character “*”, 1≤r≤n, and x_(1,j)=k_(j) is satisfied for j=1, . . . , n other than r. Therefore, z₁=1 is established.

As illustrated in FIG. 5 , d₂=(0, 1, 1, 0, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, . . . , 0), and y₂=(0, 1, . . . , 1, 1, 1, . . . , 1) when N=n=t(i) and x_(2,j)=k_(j) is satisfied only for j=2, . . . , n other than 1 and r. Therefore, z₂=0 is established.

FIG. 6 to FIG. 9 illustrate examples of n<N and t(i)<N. As illustrated in FIG. 6 , k_(n+1), . . . , k_(N) and x_(i,t(i)+1), . . . , x_(i,N) are null characters.

As illustrated in FIG. 7 , e₁=(1, 1, . . . , 0, . . . , 1, . . . , 1), w=(0, 0, . . . , 1, . . . , 0, . . . , 0), and y₁=(1, 1, . . . , 1, . . . , 1, . . . , 1) when t(1)=n, k_(r) is a wildcard character “*”, 1≤r≤n, and x_(1,j)=k_(j) is satisfied for j=1, . . . , n other than r. Therefore, z₁=1 is established.

As illustrated in FIG. 8 , e₂=(1, 1, . . . , 0, . . . , 1, 0, 1, . . . , 1), w=(0, 0, . . . , 1, . . . , 0, 0, 0, . . . , 0) and y₂=(1, 1, . . . , 1, . . . , 1, 0, 1, . . . , 1) when t(2)=n+1, k_(r) is a wildcard character “*”, 1≤r≤n, and x_(2,j)=k_(j) is satisfied for j=1, . . . , n other than r. Therefore, z₂=0 is established.

As illustrated in FIG. 9 , e₃=(1, 1, . . . , 0, . . . , 0, 1, 1, . . . , 1), w=(0, 0, . . . , 1, . . . , 0, 0, 0, . . . , 0), and y₃=(1, 1, . . . , 1, . . . , 0, 1, 1, . . . , 1) when t(3)=n−1, k_(r) is a wildcard character “*”, 1≤r≤n−1, and x_(3,j)=k_(j) is satisfied only for j=1, . . . , n−1 other than r. Therefore, z₃=0 is established.

Characteristics of Present Embodiment

As described above, exact match search of concealed database can be performed while concealing a search word including a wildcard character, in the present embodiment. Further, match retrieval of concealed database can be performed with less communication volume (communication volume of O(N), for example) than that of related art.

Second Embodiment

When characters x_(i,t(i)+1), . . . , x_(i,N) of the search target word x_(i) are null characters and characters k_(t(i)+1), . . . , k_(N) of the search word k may include a wildcard character, exact match search may not be able to be correctly performed by the method of the first embodiment. For instance, in the case of the example of FIG. 11 , characters x_(3,n), . . . , x_(i,N) of a search target word x₃ are null characters and a character k_(n) of the search word k is a wildcard character. Though a wildcard character has to be determined to match with any normal characters, the wildcard character has to be determined not to match with null characters. However, when x_(3,j)=k_(j) is satisfied for j=1, . . . , n−1, y₃=(1, 1, . . . , 1, . . . , 1, 1, 1, . . . , 1) is obtained and z₃=1 is established in the method of the first embodiment. The present embodiment describes a method for correctly performing exact match search in such a case. Note that differences from the above-described matters are mainly described and description of common matters is simplified by referring to the same reference characters below.

<Configuration>

As illustrated in FIG. 1 , a retrieval system 2 according to the present embodiment includes a request device 11 which requests retrieval and retrieval devices 22-h which perform retrieval, and the retrieval system 2 performs retrieval processing based on secure computation. Here, h=1, . . . , H and H is an integer which is 1 or greater.

As illustrated in FIG. 2 , the retrieval device 22-h of the present embodiment includes a control unit 120-h, an equality determination unit 121-h, a wildcard determination unit 122-h, an OR operation unit 223-h, a null determination unit 224-h, AND operation units 127-h and 226-h, a storage 128-h, an input unit 1291-h, and an output unit 1292-h. The retrieval device 22-h executes each processing under the control of the control unit 120-h. Further, data obtained in respective units are stored in the storage 128-h one by one and read out as needed to be used for other processing.

<Preprocessing>

Same as the first embodiment.

<Retrieval Processing>

Retrieval processing of the present embodiment is described with reference to FIG. 10 . The request device 11 conceals a search word k=(k₁, . . . , k_(n), . . . , k_(N)) including n pieces of characters k₁, . . . , k_(n) so as to obtain a concealed search word [k]. Here, n is a positive integer and n≤N. The characters k₁, . . . , k_(n) may include a wildcard character. Different from the first embodiment, when the search target word x_(i) includes null characters x_(i,t(i)+1), . . . , x_(i,N), k_(t(i)+1), . . . , k_(N) can include a wildcard character.

The request device 11 outputs the concealed search word [k]. The outputted concealed search word [k] is transmitted to the retrieval device 22-h via a network or the like. The concealed search word [k] is inputted into the input unit 1291-h of the retrieval device 22-h to be stored in the storage 128-h (step S1291-h). Subsequently, the following processing is executed for each i=1, . . . , m.

First, the equality determination unit 121-h obtains a concealed operation result [e_(i)], in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k], which are read from the storage 128-h, and outputs the first concealed operation result [e_(i)]. Here, e_(i,j)=a₁ is established when x_(i,j) is k_(j) (when x_(i,j)=k_(j)) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j) (when x_(i,j)≠k_(j)). The concealed operation result [e_(i)] is stored in the storage 128-h (step S121-h).

The wildcard determination unit 122-h obtains a concealed operation result [w], in which an operation result w=(w₁, . . . , w_(N)) is concealed, by secure computation using the concealed search word [k] read from the storage 128-h and outputs the concealed operation result [w]. Here, w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character. The concealed operation result [w] is stored in the storage 128-h (step S122-h).

The null determination unit 224-h obtains a concealed operation result [μ_(i)], in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, by secure computation using the concealed search target word [x_(i)], which is read from the storage 128-h, and outputs the concealed operation result [μ_(i)]. Here, μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character. μ_(i,j)∈{θ₀, θ₁}, in which θ₀=0 and θ₁=1, for example. The null determination unit 224-h obtains the concealed operation result [μ_(i)] by secure computation by using the concealed search target word [x_(i)] and a concealed null character which is obtained by concealing a null character, for instance. As an example, the null determination unit 224-h performs equality determination between [x_(i,j)] and the concealed null character for j=1, . . . , N by secure computation, obtains [μ_(i,j)] in which μ_(i,j) is concealed, and obtains a set of [μ_(i,1)], . . . , [μ_(i,N)] as the concealed operation result [μ_(i)]. Alternatively, the null determination unit 224-h may obtain the concealed operation result [μ_(i)] in which μ_(i,1), . . . , μ_(i,N) are collectively concealed, by secure computation using the concealed search target word [x_(i)] and the concealed null character. The concealed operation result [μ_(i)] is stored in the storage 128-h (step S224-h).

The AND operation unit 226-h obtains a concealed operation result [v_(i)], in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)], which are read from the storage 128-h, and outputs the concealed operation result [v_(i)]. Here, v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁ are satisfied, and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied. v_(i,j)∈{ρ₀, ρ₁}, in which ρ₀=0 and ρ₁=1, for example. When b₀=0, b₁=1, ρ₀=0, and ρ₁=1, v_(i,j)=w_(j)∧μ_(i,j) is established, for example. For instance, the AND operation unit 226-h performs an AND operation between [w_(j)] and [μ_(i,j)] for j=1, . . . , N by secure computation, obtains [v_(i,j)] in which v_(i,j)=w_(j)∧μ_(i,j) is concealed, and obtains a set of [v_(i,1)], . . . , [v_(i,N)] as the concealed operation result [v_(i)]. Alternatively, the AND operation unit 226-h may obtain the concealed operation result [v_(i)] in which v_(i,1), . . . , v_(i,N) are collectively concealed, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]. The concealed operation result [v_(i)] is stored in the storage 128-h (step S226-h).

The OR operation unit 223-h obtains a concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [v_(i)], which are read from the storage 128-h, and outputs the concealed operation result [y_(i)]. Here, y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and v_(i,j)=ρ₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and v_(i,j)=ρ₀ are satisfied. y_(i,j)∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. When a₀=0, a₁=1, ρ₀=0, ρ₁=1, d₀=0, and d₁=1, y_(i,j)=e_(i,j)∨v_(i,j) is established, for example. For example, the OR operation unit 223-h performs an OR operation between [e_(i,j)] and [v_(i,j)] for j=1, . . . , N by secure computation, obtains [y_(i,j)] in which y_(i,j)=e_(i,j)∨w_(i,j) is concealed, and obtains a set of [y_(i,1)], . . . , [y_(i,N)] as the concealed operation result [y_(i)]. Alternatively, the OR operation unit 223-h may obtain the concealed operation result [y_(i)] in which y_(i,1) . . . . , y_(i,N) are collectively concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [v_(i)]. The concealed operation result [y_(i)] is stored in the storage 128-h (step S223-h).

After that, the processing, which is described in the first embodiment, after step S127-h is executed.

Specific Example

A specific example for the case where a₀=0, a₁=1, b₀=0, b₁=1, ρ₀=0, ρ₁=1, d₀=0, d₁=1, g₀=0 and g₁=1 is described below.

FIG. 11 to FIG. 13 illustrate examples of n<N and t(i)<N. As illustrated in FIG. 11 , k_(n) is a wildcard character “*”, and k_(n+1), . . . , k_(N) and x_(i,t(i)+1), . . . , x_(i,N) are null characters.

As illustrated in FIG. 12 , e₁=(1, 1, . . . , 1, 0, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, . . . , 0), μ₁=(1, 1, . . . , 1, 1, 0, 0, . . . , 0), v₁=(0, 0, . . . , 0, 1, 0, 0, . . . , 0), and y₁=(1, 1, . . . , 1, 1, 1, 1, . . . , 1) when t(1)=n and x_(1,j)=k_(j) is satisfied for j=1, . . . , n−1. Therefore, z₁=1 is established.

As illustrated in FIG. 13 , e₃=(1, 1, . . . , 1, 0, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, . . . , 0), μ₃=(1, 1, . . . , 1, 0, 0, 0, . . . , 0), v₃=(0, 0, . . . , 0, 0, 0, 0, . . . , 0), and y₃=(1, 1, . . . , 1, 0, 1, 1, . . . 1) when t(3)=n−1 and x_(i,j)=k_(j) is satisfied for j=1, . . . , n−1. Therefore, z₃=0 is established.

Characteristics of Present Embodiment

As described above, even when characters x_(i,t(i)+1), . . . , x_(i,N) of the search target word x_(i) are null characters and characters k_(t(i)+1), . . . , k_(N) of the search word k may include a wildcard character, exact match search of concealed database can be performed while concealing the search word including the wildcard character, in the present embodiment. Further, match retrieval of concealed database can be performed with less communication volume than that of related art.

Third Embodiment

A third embodiment is a modification of the first embodiment. In the present embodiment, prefix search of concealed database is performed while concealing a search word including a wildcard character.

<Configuration>

As illustrated in FIG. 1 , a retrieval system 3 according to the present embodiment includes a request device 11 which requests retrieval and retrieval devices 32-h which perform retrieval, and the retrieval system 3 performs retrieval processing based on secure computation. Here, h=1, . . . , H and H is an integer which is 1 or greater. H≥2 is established when secure computation based on a secret sharing scheme is performed and H=1 is established when secure computation based on a homomorphic cryptosystem is performed.

As illustrated in FIG. 2 , the retrieval device 32-h of the present embodiment includes a control unit 120-h, an equality determination unit 121-h, a wildcard determination unit 122-h, an OR operation unit 323-h, a null determination unit 325-h, an AND operation unit 127-n, a storage 128-h, an input unit 1291-h, and an output unit 1292-h. The retrieval device 32-h executes each processing under the control of the control unit 120-h. Further, data obtained in respective units are stored in the storage 128-h one by one and read out as needed to be used for other processing.

<Preprocessing>

Same as the first embodiment.

<Retrieval Processing>

Retrieval processing of the present embodiment is described with reference to FIG. 14 . The request device 11 conceals a search word k=(k₁, . . . , k_(n), . . . , k_(N)) including n pieces of characters k₁, . . . , k_(n) so as to obtain a concealed search word [k]. Here, n is a positive integer and n≤N. The characters k₁, . . . , k_(n) may include a wildcard character. When the search target word x_(i) (here, i=1, . . . , m) does not include any null characters, any character among the characters k₁, . . . , k_(n) may be a wildcard character. On the other hand, it is assumed that, when the search target word x_(i) includes null characters x_(i,t(i)+1), . . . , x_(i,N), k_(t(i)+1), . . . , k_(N) do not include any wildcard characters in the present embodiment.

The request device 11 outputs the concealed search word [k]. The outputted concealed search word [k] is transmitted to the retrieval device 32-h via a network or the like. The concealed search word [k] is inputted into the input unit 1291-h of the retrieval device 32-h to be stored in the storage 128-h (step S1291-h). Subsequently, the following processing is executed for each i=1, . . . , m.

First, the equality determination unit 121-h obtains a concealed operation result [e_(i)], in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k], which are read from the storage 128-h, and outputs the concealed operation result [e_(i)]. Here, e_(i,j)=a₁ is established when x_(i,j) is k_(j) (when x_(i,j)=k_(j)) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j) (when x_(i,j)≠k_(j)). The concealed operation result [e_(i)] is stored in the storage 128-h (step S121-h).

The wildcard determination unit 122-h obtains a concealed operation result [w], in which an operation result w=(w₁, . . . , w_(N)) is concealed, by secure computation using the concealed search word [k] read from the storage 128-h and outputs the concealed operation result [w]. Here, w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character. The concealed operation result [w] is stored in the storage 128-h (step S122-h).

The null determination unit 325-h obtains a concealed operation result [u], in which an operation result u=(u₁, . . . , u_(N)) is concealed, by secure computation using the concealed search word [k], which is read from the storage 128-h, and outputs the concealed operation result [u]. Here, u_(j)=c₁ is established when k_(j) is a null value and u_(j)=c₀ is established when k_(j) is not a null value. u_(j)∈{c₀, c₁}, in which c₀=0 and c₁=1, for example. The null determination unit 325-h obtains the concealed operation result [u] by secure computation by using the concealed search word [k] and a concealed null character which is obtained by concealing a null character, for instance. As an example, the null determination unit 325-h performs equality determination between [k_(j)] and the concealed null character for j=1, . . . , N by secure computation, obtains [u_(j)] in which u_(j) is concealed, and obtains a set of [u₁], . . . , [u_(N)] as the concealed operation result [u]. Alternatively, the null determination unit 325-h may obtain the concealed operation result [u], in which u₁, . . . , u_(N) are collectively concealed, by secure computation using the concealed search word [k] and the concealed null character. The concealed operation result [u] is stored in the storage 128-h (step S325-h).

The OR operation unit 323-h obtains a concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, by secure computation using the concealed operation result [e_(i)], the concealed operation result [w], and the concealed operation result [u], which are read from the storage 128-h, and outputs the concealed operation result [y_(i)]. Here, y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, w_(j)=b₁, and u_(j)=c₁ is satisfied, and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, w_(j)=b₀, and u_(j)=c₀ are satisfied. y_(i,j)∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. When a₀=0, a₁=1, b₀=0, b₁=1, c₀=0, c₁=1, d₀=0, and d₁=1, y_(i,j)=e_(i,j)∨w_(j)∨u_(j) is established, for example. For example, the OR operation unit 323-h performs an OR operation among [e_(i,j)], [w_(j)], and [u_(j)] for j=1, . . . , N by secure computation, obtains which [y_(i,j)] in which y_(i,j)=e_(i,j)∨w_(j)∨u_(j) is concealed, and obtains a set of [y_(i,1)], . . . , [y_(i,N)] as the concealed operation result [y_(i)]. Alternatively, the OR operation unit 323-h may obtain the concealed operation result [y_(i)] in which y_(i,1) . . . , y_(i,N) are collectively concealed, by secure computation using the concealed operation result [e_(i)], the concealed operation result [w], and the concealed operation result [u]. The concealed operation result [y_(i)] is stored in the storage 128-h (step S323-h).

After that, the processing, which is described in the first embodiment, after step S127-h is executed.

Specific Example

A specific example for the case where a₀=0, a₁=1, b₀=0, b₁=1, c₀=0, c₁=1, d₀=0, d₁=1, g₀=0, and g₁=1 is described below.

As illustrated in FIG. 15 , e₂=(1, 1, . . . , 0, . . . , 1, 0, 1, . . . , 1), w=(0, 0, . . . , 1, . . . , 0, 0, 0, . . . , 0) u=(0, 0, . . . , 0, . . . , 0, 1, 1, . . . , 1) and y₂=(1, 1, . . . , 1, . . . , 1, 1, 1, . . . , 1) when t(2)≤n+1 and x_(1,j)=k_(j) is satisfied for j=1, . . . , n. Therefore, z₂=1 is established.

As illustrated in FIG. 16 , e₃=(1, 1, . . . , 0, . . . , 0, 1, 1, . . . , 1), w=(0, 0, . . . , 1, . . . , 0, 0, 0, . . . , 0), u=(0, 0, . . . , 0, . . . , 0, 1, 1, . . . , 1), and y₃=(1, 1, . . . , 1, . . . , 0, 1, 1, . . . , 1) when t(3)=n−1 and x_(1,j)=k_(j) is satisfied for j=1, . . . , n−1. Therefore, z₃=0 is established.

Characteristics of Present Embodiment

As described above, prefix search of concealed database can be performed while concealing a search word including a wildcard character, in the present embodiment. Further, match retrieval of concealed database can be performed with less communication volume than that of related art.

Fourth Embodiment

A fourth embodiment is a modification of the second and third embodiments. In the present embodiment, prefix search of concealed database is performed while concealing a search word including a wildcard character. When characters x_(i,t(i)+1), . . . , x_(i,N) of the search target word x_(i) are null characters and characters k_(t(i)+1), . . . , k_(N) of the search word k may include a wildcard character, prefix search may not be able to be correctly performed by the method of the third embodiment, as is the case with the exact match search. The present embodiment describes a method for correctly performing prefix search in such a case.

<Configuration>

As illustrated in FIG. 1 , a retrieval system 4 according to the present embodiment includes a request device 11 which requests retrieval and retrieval devices 42-h which perform retrieval, and the retrieval system 4 performs retrieval processing based on secure computation. Here, h=1, . . . , H and H is an integer which is 1 or greater. H≥2 is established when secure computation based on a secret sharing scheme is performed and H=1 is established when secure computation based on a homomorphic cryptosystem is performed.

As illustrated in FIG. 2 , the retrieval device 42-h of the present embodiment includes a control unit 120-h, an equality determination unit 121-h, a wildcard determination unit 122-h, an OR operation unit 423-h, null determination units 224-h and 325-h, AND operation units 127-h and 226-h, a storage 128-h, an input unit 1291-h, and an output unit 1292-h. The retrieval device 42-h executes each processing under the control of the control unit 120-h. Further, data obtained in respective units are stored in the storage 128-h one by one and read out as needed to be used for other processing.

<Preprocessing>

Same as the first embodiment.

<Retrieval Processing>

Retrieval processing of the present embodiment is described with reference to FIG. 17 . The request device 11 conceals a search word k=(k₁, . . . , k_(n), . . . , k_(N)) including n pieces of characters k₁, . . . , k_(n) so as to obtain a concealed search word [k]. Here, n is a positive integer and n≥N. The characters k₁, . . . , k_(n) may include a wildcard character. Different from the third embodiment, when the search target word x_(i) includes null characters x_(i,t(i)+1), . . . , x_(i,N), k_(t(i)+1), . . . , k_(N) can include a wildcard character.

The request device 11 outputs the concealed search word [k]. The outputted concealed search word [k] is transmitted to the retrieval device 42-h via a network or the like. The concealed search word [k] is inputted into the input unit 1291-h of the retrieval device 42-h to be stored in the storage 128-h (step S1291-h). Subsequently, the following processing is executed for each i=1, . . . , m.

First, the equality determination unit 121-h obtains a concealed operation result [e_(i)], in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k], which are read from the storage 128-h, and outputs the concealed operation result [e_(i)]. Here, e_(i,j)=a₁ is established when x_(i,j) is k_(j) (when x_(i,j)=k_(j)) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j) (when x_(i,j)≠k_(j)). The concealed operation result [e_(i)] is stored in the storage 128-h (step S121-h).

The wildcard determination unit 122-h obtains a concealed operation result [w], in which an operation result w=(w₁, . . . , w_(N)) is concealed, by secure computation using the concealed search word [k] read from the storage 128-h and outputs the concealed operation result [w]. Here, w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character. The concealed operation result [w] s stored in the storage 128-h (step S122-h).

The null determination unit 325-h obtains a concealed operation result [u], in which an operation result u=(u₁, . . . , u_(N)) is concealed, by secure computation using the concealed search word [k], which is read from the storage 128-h, and outputs the concealed operation result [u]. Here, u_(j)=c₁ is established when k_(j) is a null value and u_(j)=c₀ is established when k_(j) is not a null value. The null determination unit 325-h obtains the concealed operation result [u] by secure computation by using the concealed search word [k] and a concealed null character which is obtained by concealing a null character, for instance. The concealed operation result [u] is stored in the storage 128-h (step S325-h).

The null determination unit 224-h obtains a concealed operation result [μ_(i)], in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, by secure computation using the concealed search target word [x_(i)], which is read from the storage 128-h, and outputs the concealed operation result [μ_(i)]. Here, μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character. The concealed operation result [μ_(i)] is stored in the storage 128-h (step S224-h).

The AND operation unit 226-h obtains a concealed operation result [v_(i)], in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)], which are read from the storage 128-h, and outputs the concealed operation result [v_(i)]. Here, v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁ are satisfied, and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied. The concealed operation result [v_(i)] is stored in the storage 128-h (step S226-h).

The OR operation unit 423-h obtains a concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, by secure computation using the concealed operation result [e_(i)], the concealed operation result [u], and the concealed operation result [v_(i)], which are read from the storage 128-h, and outputs the concealed operation result [y_(i)]. Here, y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, v_(i,j)=ρ₁, and u_(j)=c₁ is satisfied, and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, v_(i,j)=ρ₀, and u_(j)=c₀ are satisfied. y_(i,j)∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. When a₀=0, a₁=1, ρ₀=0, ρ₁=1, c₀=0, c₁=1, d₀=0, and d₁=1, y_(i,j)=e_(i,j)∨v_(i,j)∨u_(j) is established, for example. For example, the OR operation unit 423-h performs an OR operation among [e_(i,j)], [v_(i,j)], and [u_(j)] for j=1, . . . , N by secure computation, obtains [y_(i,j)] in which y_(i,j)=e_(i,j)∨v_(i,j)∨u_(j) is concealed, and obtains a set of [y_(i,1)], . . . , [y_(i,N)] as the concealed operation result [y_(i)]. Alternatively, the OR operation unit 423-h may obtain the concealed operation result [y_(i)] in which y_(i,1) . . . , y_(i,N) are collectively concealed, by secure computation using the concealed operation result [e_(i)], the concealed operation result [v_(i)], and the concealed operation result [u]. The concealed operation result [y_(i)] is stored in the storage 128-h (step S423-h).

After that, the processing, which is described in the first embodiment, after step S127-h is executed.

Specific Example

A specific example for the case where a₀=0, a₁=1, b₀=0, b₁=1, c₀=0, c₁=1, d₀=0, d₁=1, ρ₀=0, ρ₁=1, g₀=0, and g₁=1 is described below. FIG. 18 and FIG. 19 illustrate examples of n<N and t(i)≤N. k_(n) is a wildcard character “*”, and k_(n+1), . . . , k_(N) and x_(i,t(i)+1), . . . , x_(i,N) are null characters.

As illustrated in FIG. 18 , e₁=(1, 1, . . . , 1, 0, 1, 1, . . . , 1), w=0, . . . , 0, 1, 0, 0, . . . , 0), u=(0, 0, . . . , 0, 1, 1, . . . , 1), μ₁=(1, 1, . . . , 1, 1, 0, 0, . . . , 0), v₁=(0, 0, . . . , 0, 1, 0, 0, . . . , 0), and y₁=(1, 1, . . . , 1, 1, 1, 1, . . . , 1) when t(1)=n and x_(1,j)=k_(j) is satisfied for j=1, . . . , n−1. Therefore, z₁=1 is established.

As illustrated in FIG. 19 , e₃=(1, 1, . . . , 1, 0, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, . . . , 0), u=(0, 0, . . . , 0, 0, 1, 1, . . . , 1), μ₃=(1, 1, . . . , 1, 0, 0, 0, . . . , 0), v₃=(0, 0, . . . , 0, 0, 0, 0, . . . , 0), and y₃=(1, 1, . . . , 1, 0, 1, 1, . . . , 1) when t(3)=n−1 and x_(1,j)=k_(j) is satisfied for j=1, . . . , n−1. Therefore, z₃=0 is established.

Characteristics of Present Embodiment

As described above, even when characters x_(i,t(i)+1), . . . , x_(i,N) of the search target word x_(i) are null characters and characters k_(t(i)+1), . . . , k_(N) of the search word k may include a wildcard character, prefix search of concealed database can be performed while concealing the search word including the wildcard character, in the present embodiment. Further, match retrieval of concealed database can be performed with less communication volume than that of related art.

Fifth Embodiment

A fifth embodiment is a modification of the first and second embodiments. It is assumed that the length of a concealed search target word and the length of a concealed search word are the same as each other, in the first and second embodiments. On the other hand, exact match search can be performed irrespective of whether or not the length of a concealed and the length of a concealed retrieval word are the same as each other, in the present embodiment.

<Configuration>

As illustrated in FIG. 1 , a retrieval system 5 according to the present embodiment includes a request device 11 which requests retrieval and retrieval devices 52-h which perform retrieval, and the retrieval system 5 performs retrieval processing based on secure computation. Here, h=1, . . . , H and H is an integer which is 1 or greater. H≥2 is established when secure computation based on a secret sharing scheme is performed and H=1 is established when secure computation based on a homomorphic cryptosystem is performed.

As illustrated in FIG. 2 , the retrieval device 52-h of the present embodiment includes a control unit 120-h, an equality determination unit 521-h, a wildcard determination unit 522-h, an OR operation unit 523-h, null determination units 524-h and 525-h, an AND operation unit 527 h, a concatenation unit 528-h, a storage 128-h, an input unit 1291-h, and an output unit 1292-h. The retrieval device 52-h executes each processing under the control of the control unit 120-h. Further, data obtained in respective units are stored in the storage 128-h one by one and read out as needed to be used for other processing.

<Preprocessing>

The storage 128-h stores concealed database [x₁], . . . , [x_(m)] including a concealed retrieval target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N(i))) (See DB in FIG. 21 , for example) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)) is concealed. Here, m, t(i), and N(i) are positive integers, i=1, . . . , m, j(i)=1, . . . , N(i), and t(i)≤N(i). t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)) included in the search target word x_(i) are normal characters which are retrieval targets. On the other hand, the remaining N(i)−t(i) pieces of characters x_(i,t(i)+1), . . . , x_(i,N(i)) included in the search target word x_(i) are null characters. A set of concealed values [x_(i,1)], . . . , [x_(i,t(i))], . . . , [x_(i,N(i))] obtained by separately concealing respective characters x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N(i)) may be defined as the concealed search target word [x_(i)] or N(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N(i)) may be collectively concealed to be defined as the concealed search target word [x_(i)]. Other matters are the same as those described in the first embodiment.

<Retrieval Processing>

Retrieval processing of the present embodiment is described with reference to FIG. 20 . The request device 11 conceals a search word k=(k₁, . . . , k_(n), . . . , k_(N)) including n pieces of characters k₁, . . . , k_(n) so as to obtain a concealed search word [k]. Here, j=1, . . . , N, n is a positive integer, and n≤N. The characters k₁, . . . , k_(n) may include a wildcard character. When the search target word x_(i) includes null characters x_(i,t(i)+1), . . . , x_(i,N(i)), k_(t(i)+1), . . . , k_(N) can include a wildcard character. n and N are positive integers and n≤N. M_(min)=N is established when N≤N(i), and M_(min)=N(i) is established when N>N(i). Such M_(min) is expressed as M_(min)=min(N(i), N). Further, N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i). Such M_(max) is expressed as M_(max)=max(N(i), N). Due to the limit of notation, N_(min) is sometimes written as “Nmin”, and N_(max) is sometimes written as “Nmax”. j″=M_(min)+1, . . . , N and j″(i)=M_(min)+1, . . . , N(i). However, j″ is nil when M_(min)+1≥N and j″(i) is nil when M_(min)+1≥N(i). As described above, a set of concealed values [k₁], . . . , [k_(n)], . . . , [k_(N)] Obtained by separately concealing respective characters k₁, . . . , k_(n), . . . , k_(N) may be defined as the concealed search word [k] or N pieces of characters k₁, . . . , k_(n), . . . , k_(N) may be collectively concealed to be defined as the concealed search word [k].

The request device 11 outputs the concealed search word [k]. The outputted concealed search word [k] is transmitted to the retrieval device 52-h via a network or the like. The concealed search word [k] is inputted into the input unit 1291-h of the retrieval device 52-h to be stored in the storage 128-h (step S1291-h). Subsequently, the following processing is executed for each i=1, . . . , m.

First, the equality determination unit 521-h obtains a concealed operation result [e_(i)], in which an operation result e_(i)=(e_(i,1), . . . , e_(i,Nmin)) is concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k], which are read from the storage 128-h, and outputs the concealed operation result [e_(i)]. Here, e_(i,j′)=a₁ is established when x_(i,j′) is k_(j′) and e_(i,j′)=a₀ is established when x_(i,j′) is not k_(j′) for j′=1, . . . , N_(min). e_(i,j′)∈{a₀, a₁}, in which a₀=0 and a₁=1, for example. For example, the equality determination unit 521-h performs equality determination between [k_(j′)] and [x_(i,j′)] for j′=1, . . . , N_(min) by secure computation, obtains [e_(i,j′)] in which e_(i,j′) is concealed, and obtains a set of [e_(i,1)], . . . , [e_(i,Nmin)] as the concealed operation result [e_(i)]. Alternatively, the equality determination unit 521-h may obtain the concealed operation result [e_(i)] in which e_(i,1), . . . , e_(i,Nmin) are collectively concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]. The concealed operation result [e_(i)] is stored in the storage 128-h (step S521-h).

The wildcard determination unit 522-h obtains a concealed operation result [w], in which an operation result w=(w₁, . . . , w_(Nmin)) is concealed, by secure computation using the concealed search word [k] read from the storage 128-h and outputs the concealed operation result [w]. Here, w_(j′)=b₁ is established when k_(j′) is a wildcard character and w_(j′)=b₀ is established when k_(j′) is not a wildcard character for j′=1, . . . , N_(min). The wildcard determination unit 522-h obtains the concealed operation result [w] by secure computation by using the concealed search word [k] and a concealed wildcard character which is obtained by concealing a wildcard character, for instance. As an example, the wildcard determination unit 522-h performs equality determination between [k_(j′)] and the concealed wildcard character for j′=1, . . . , N_(min) by secure computation, obtains [w_(j′)] in which w_(j′) is concealed, and obtains a set of [w₁], . . . , [w_(Nmin)] as the concealed operation result [w]. Alternatively, the wildcard determination unit 522-h may obtain the concealed operation result [w] in which w₁, . . . , w_(Nmin) are collectively concealed, by secure computation using the concealed search word [k] and the concealed wildcard character. The concealed operation result [w] is stored in the storage 128-h (step S522-h).

The null determination unit 525-h obtains a concealed operation result [u′], in which operation results u′_(Mmin+1), . . . , u′_(N) are concealed, by secure computation computation using at least a part of the concealed search word [k], which is read from the storage 128-h, and outputs the concealed operation result [u′]. Here, u′_(j″)=c₁ is established when k_(j″) is a null character and u′_(j″)=c₀ is established when k_(j″) is not a null character for j″=M_(min)+1, . . . , N. μ′_(j″)∈{c₀, c₁}, in which c₀=0 and c₁=1, for example. The null determination unit 525-h obtains the concealed operation result [u′] by secure computation by using at least a part of the concealed search word [k] and a concealed null character which is obtained by concealing a null character, for instance. As an example, the null determination unit 525-h performs equality determination between [k_(j″)] and the concealed null character for j″=M_(min)+1, . . . , N by secure computation, obtains [u′_(j″)] in which u′_(j″) is concealed, and obtains a set of [u′_(Mmin+1)], . . . , [u′_(N)] as the concealed operation result [u′]. Alternatively, the null determination unit 525-h may obtain the concealed operation result [u′] in which u′_(Mmin+1), . . . , u′_(N) are collectively concealed, by secure computation using the concealed search word [k] and the concealed null character. The concealed operation result [u′] is stored in the storage 128-h (step S525-h). Here, the processing of step S525-h is not executed when M_(min)+1≥N.

The OR operation unit 523-h obtains a concealed operation result [e′_(i)], in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,Nmin)) is concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w], which are read from the storage 128-h, and outputs the concealed operation result [e′_(i)]. Here, e′_(i,j′)=d₁ is established when at least one of e_(i,j′)=a₁ and w_(j′)=b₁ is satisfied and e′_(i,j′)=d₀ is established when both of e_(i,j′)=a₀ and w_(j′)=b₀ are satisfied for j′1, . . . , N_(min). e′_(i,j′)∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. When a₀=0, a₁=1, b₀=0, b₁=1, d₀=0, and d₁=1, e′_(i,j)=e_(i,j′)∨w_(j′) is established, for example. For example, the OR operation unit 523-h performs an OR operation between [e_(i,j′)] and [w_(j′)] for j′=1, . . . , N_(min) by secure computation, obtains [e′_(i,j′)] in which e′_(i,j′)=e_(i,j′)∨w_(j′) is concealed, and obtains a set of [e′_(i,1)], . . . , [e′_(i,Nmin)] as the concealed operation result [e′_(i)]. Alternatively, the OR operation unit 523-h may obtain the concealed operation result [e′_(i)] in which e′_(i,1), . . . , e′_(i,Nmin) are collectively concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]. The concealed operation result [e′_(i)] is stored in the storage 128-h (step S5231-h).

The null determination unit 524-h obtains a concealed operation result [μ′_(i)], in which an operation result μ′_(i)=(μ′_(i,Mmin+1), . . . , μ′_(i,N(i))) is concealed, by secure computation using at least a part of the concealed search target word [x_(i)], which is read from the storage 128-h, and outputs the concealed operation result [μ′_(i)]. Here, μ′_(i,j″(i))=d₁ is established when x_(i,j″(i)) is a null character and μ′_(i,j″(i))=d₀ is established when x_(i,j″(i)) is not a null character for j″(i)=M_(min)+1, . . . , N(i). μ′_(i,j″(i))∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. The null determination unit 524-h obtains the concealed operation result [μ′_(i)] by secure computation by using at least a part of the concealed search target word [x_(i)] and a concealed null character which is obtained by concealing a null character. As an example, the null determination unit 524-h performs equality determination between [x_(i,j″(i))] and the concealed null character for j″(i)=M_(min)+1, . . . , N(i) by secure computation, obtains [μ′_(i,j″(i))] in which μ′_(i,j″(i)) is concealed, and obtains a set of [μ′_(i,Mmin+1)], . . . , [μ′_(i,N(i))] as the concealed operation result [μ′_(i)]. Alternatively, the null determination unit 524-h may obtain the concealed operation result in which [μ′_(i)] in which μ′_(i,Mmin+1), . . . , μ′_(i,N(i)) are collectively concealed, by secure computation using the concealed search target word [x_(i)] and the concealed null character. The concealed operation result [μ′_(i)] is stored in the storage 128-h (step S524-h). Here, the processing of step S524-h is not executed when M_(min)+1≥N(i).

The concatenation unit 528-h obtains a concealed operation result [y_(i)], in which an operation result y_(i) is concealed, by secure computation using at least the concealed operation result [e′_(i)] and outputs the concealed operation result [y_(i)]. When N=N(i), the concatenation unit 528-h outputs the concealed operation result [e′_(i)] as the concealed operation result [y_(i)]. When N>N(i), the concatenation unit 528-h obtains the concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u′_(N(i)+1), . . . , u′_(N)) is concealed, by secure computation using the concealed operation result [u′] and the concealed operation result [e′_(i)] and outputs the concealed operation result [y_(i)]. When N<N(i), the concatenation unit 528-h obtains the concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N(i)))=(e′_(i,1), . . . , e′_(i,N), μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, by secure computation using the concealed operation result [e′_(i)] and the concealed operation result [μ′_(i)] and outputs the concealed operation result [y_(i)]. [y_(i)] may be a set of concealed results obtained by concealing respective elements of y_(i) or may be obtained by collectively concealing all elements of y_(i). The concealed operation result [y_(i)] is stored in the storage 128-h (step S528-h).

The AND operation unit 527-h obtains a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed, by secure computation using the concealed operation result [y_(i)] read from the storage 128-h, and outputs the concealed match determination result [z_(i)]. Here, z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied. z_(i)∈{g₀, g₁}, in which g₀=0 and g₁=1, for example. When d₀=0, d₁=1, g₀=0, and g₁=1, z_(i)=y_(i,1)∨ . . . ∨y_(i,Nmax) is established, for example. The concealed match determination result [z_(i)] is stored in the storage 128-h (step S527-h).

After that, the processing of step S1292-h, which is described in the first embodiment, is executed.

Specific Example

The followings are obtained when processing of the present embodiment is described in a separate manner to the case of N=N(i), the case of N>N(i), and the case of N<N(i).

<<Case of N=N(i)>>

m, n, t(i), N, and N(i) are positive integers, i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, and t(i)≤N(i). The equality determination unit 521-h obtains a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), by secure computation using the concealed search target word [x_(i)] and the concealed search word [k] and outputs the concealed operation result [e_(i)]. The wildcard determination unit 522-h obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character, by secure computation using the concealed search word [k] and outputs the concealed operation result [w]. The OR operation unit 523-h obtains a concealed operation result [y_(i)]=[e′_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w] and outputs the concealed operation result [y_(i)]=[e′_(i)]. For example, as illustrated in FIG. 23 , when a₀=0, a₁=1, b₀=0, b₁=1, d₀=0, d₁=1, g₀=0, g₁=1, k_(n−1) is a wildcard character “*”, and x_(2,j)=k_(j) is satisfied for j=1, . . . , n−2, n, e₂=(1, 1, . . . , 1, 0, 1, 0, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, 0, . . . , 0), and y₂=e′₂=(1, 1, . . . , 1, 1, 1, 0, 1, . . . , 1). Therefore, z₂=0 is established.

<<Case of N>N(i)>>

m, n, t(i), N, and N(i) are positive integers, i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i). The equality determination unit 521-h obtains a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), by secure computation using the concealed search target word [x_(i)] and the concealed search word [k] and outputs the concealed operation result [e_(i)]. The wildcard determination unit 522-h obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is a wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not a wildcard character, by secure computation using the concealed search word [k] and outputs the concealed operation result [w]. The null determination unit 525-h (first null determination unit) obtains a concealed operation result [u′] in which operation results u′_(N(i)+1), . . . , u′_(N) are concealed, the operation results u′_(N(i)+1), . . . , u′_(N) in which u′_(j″(i))=c₁ is established when k_(j″(i)) is a null character and u′_(j″(i))=c₀ is established when k_(j″(i)) is not a null character, by secure computation using at least a part of the concealed search word [k] and outputs the concealed operation result [u′]. The OR operation unit 523-h obtains a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w_(j(i))=b₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w_(j(i))=b₀ are satisfied, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w] and outputs the concealed operation result [e′_(i)]. The concatenation unit 528-h obtains a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u′_(N(i)+1), . . . , u′_(N)) is concealed, by secure computation using the concealed operation result [u′] and the concealed operation result [e′_(i)] and outputs the concealed operation result [y_(i)]. For example, as illustrated in FIG. 22 , when a₀=0, a₁=1, b₀=0, b₁=1, d₀=0, d₁=1, g₀=0, g₁=1, k_(n−1) is a wildcard character “*”, and x_(1,j)=k_(j) is satisfied for j=1, . . . , n−2, n, e₁=(1, 1, . . . , 0, 1, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, 0, . . . , 0), e′₁=(1, 1, . . . , 1, 1, 1, 1, 1, . . . , 1), and y₁=(1, 1, . . . , 1, 1, 1, 1, 1, . . . , 1, 1). Therefore, z₁=1 is established.

<<Case of N<N(i)>>

m, n, t(i), N, and N(i) are positive integers, N<N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, t(i)≤N(i), and j″(i)=N+1, . . . , N(i). The equality determination unit 521-h obtains a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), by secure computation using the concealed search target word [x_(i)] and the concealed search word [k] and outputs the concealed operation result [e_(i)]. The wildcard determination unit 522-h obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character, by secure computation using the concealed search word [k] and outputs the concealed operation result [w]. The OR operation unit 523-h obtains a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N)) is concealed, the operation result e′_(i) in which e′_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and e′_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w] and outputs the concealed operation result [e′_(i)]. The null determination unit 524-h (second null determination unit) obtains a concealed operation result [μ′_(i)] in which an operation result μ′_(i)=(μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, the operation result μ′_(i) in which μ′_(i,j″(i))=d₁ is established when x_(i,j″(i)) is a null character and μ′_(i,j″(i))=d₀ is established when x_(i,j″(i)) is not a null character, by secure computation using at least a part of the concealed search target word [x_(i)] and outputs the concealed operation result [μ′_(i)]. The concatenation unit 528-h obtains a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N(i)))=(e′_(i,1), . . . , e′_(iN), u′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, by secure computation using the concealed operation result [e′_(i)] and the concealed operation result [μ′_(i)] and outputs the concealed operation result [y_(i)]. For example, as illustrated in FIG. 24 , when a₀=0, a₁=1, b₀=0, b₁=1, d₀=0, d₁=1, g₀=0, g₁=1, k_(n−1) is a wildcard character “*”, and x_(3,j)=k_(j) is satisfied for j=1, . . . , n−2, n, e₃=(1, 1, . . . , 1, 0, 0, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, 0, . . . , 0), e′₃=(1, 1, . . . , 1, 1, 0, 1, 1, . . . , 1), and y₃=(1, 1, . . . , 1, 1, 0, 1, 1, . . . , 1, 1). Therefore, z₃=0 is established.

Characteristics of Present Embodiment

As described above, even when the search word k may include a wildcard character or even when at least one of the search word k and the search target word x_(i) may include a null character, exact match search of concealed database can be performed while concealing the search word including the wildcard character, in the present embodiment. Further, exact match search can be performed irrespective of whether or not the length of the concealed search target word and the length of the concealed search word are the same as each other, in the present embodiment. Furthermore, match retrieval of concealed database can be performed with less communication volume than that of related art.

Sixth Embodiment

A sixth embodiment is a modification of the third and fourth embodiments. It is assumed that the length of a concealed search target word and the length of a concealed search word are the same as each other, in the third and fourth embodiments. On the other hand, prefix search can be performed irrespective of whether or not the length of a concealed search target word and the length of a concealed search word are the same as each other, in the present embodiment.

<Configuration>

As illustrated in FIG. 1 , a retrieval system 6 according to the present embodiment includes a request device 11 which requests retrieval and retrieval devices 62-h which perform retrieval, and the retrieval system 6 performs retrieval processing based on secure computation. Here, h=1, . . . , H and H is an integer which is 1 or greater. H≥2 is established when secure computation based on a secret sharing scheme is performed and H=1 is established when secure computation based on a homomorphic cryptosystem is performed.

As illustrated in FIG. 2 , the retrieval device 62-h of the present embodiment includes a control unit 120-h, an equality determination unit 521-h, a wildcard determination unit 522-h, an OR operation unit 623-h, a null determination unit 625-h, an AND operation unit 527-h, a concatenation unit 628-h, a storage 128-h, an input unit 1291-h, and an output unit 1292-h. The retrieval device 62-h executes each processing under the control of the control unit 120-h. Further, data obtained in respective units are stored in the storage 128-h one by one and read out as needed to be used for other processing.

<Preprocessing>

Same as the fifth embodiment.

<Retrieval Processing>

Retrieval processing of the present embodiment is described with reference to FIG. 25 . The request device 11 conceals a search word k=(k₁, . . . , k_(n), . . . , k_(N)) including n pieces of characters k₁, . . . , k_(n) so as to obtain a concealed search word [k]. The request device 11 outputs the concealed search word [k]. The outputted concealed search word [k] is transmitted to the retrieval device 62-h via a network or the like. The concealed search word [k] is inputted into the input unit 1291-h of the retrieval device 62-h to be stored in the storage 128-h (step S1291-h). Subsequently, the following processing is executed for each i=1, . . . , m.

First, the equality determination unit 521-h obtains a concealed operation result [e_(i)], in which an operation result e_(i)=(e_(i,1), . . . , e_(i,Nmin)) is concealed, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k], which are read from the storage 128-h, and outputs the concealed operation result [e_(i)]. Here, e_(i,j′)=a₁ is established when x_(i,j′) is k_(j′) and e_(i,j′)=a₀ is established when x_(i,j′) is not k_(j′) for j′=1, . . . , N_(min). The concealed operation result [e_(i)] is stored in the storage 128-h (step S521-h).

The wildcard determination unit 522-h obtains a concealed operation result [w], in which an operation result w=(w₁, . . . , w_(N)) is concealed, by secure computation using the concealed search word [k] read from the storage 128-h and outputs the concealed operation result [w]. Here, w_(j′)=b₁ is established when k_(j′) is a wildcard character and w_(j′)=b₀ is established when is not a wildcard character for j′=1, . . . , N_(min). The concealed operation result [w] is stored in the storage 128-h (step S522-h).

The null determination unit 625-h obtains a concealed operation result [u″], in which operation results u″=(u″₁, . . . , u″_(N)) are concealed, by secure computation using the concealed search word [k], which is read from the storage 128-h, and outputs the concealed operation result [u″]. Here, u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character for j=1, . . . , N. μ″_(j)∈{c₀, c₁}, in which c₀=0 and c₁=1, for example. The null determination unit 625-h obtains the concealed operation result [u″] by secure computation by using at least a part of the concealed search word [k] and a concealed null character which is obtained by concealing a null character, for instance. As an example, the null determination unit 625-h performs equality determination between [k_(j)] and the concealed null character for j=1, . . . , N by secure computation, obtains [u″_(j)] in which u″_(j) is concealed, and obtains a set of [u″₁], . . . , [u″_(N)] as the concealed operation result [u″]. Alternatively, the null determination unit 625-h may obtain the concealed operation result [u″] in which u″₁, . . . , u″_(N) are collectively concealed, by secure computation using the concealed search word [k] and the concealed null character. The concealed operation result [u″] is stored in the storage 128-h (step S6251-h).

The OR operation unit 623-h (first OR operation unit) obtains a concealed operation result [w′], in which an operation result w′=(w′₁, . . . , w′_(Nmin)) is concealed, by secure computation using at least a part of the concealed operation result [w] and the concealed operation result [u″], which are read from the storage 128-h, and outputs the concealed operation result [w′]. Here, w′_(j′)=b′₁ is established when at least one of u″j_(j′)=c₁ and w_(j′)=b₁ is satisfied, and w′_(j′)=b′₀ is established when both of u″_(j′)=c₀ and w_(j′)=b₀ are satisfied for j′1, . . . , N_(min). w′_(j)∈{b′₀, b′₁}, in which b′₀=0 and b′₁=1, for example. When b₀=0, b₁=1, c₀=0, c₁=1, b′₀=0, and b′₁=1, w′_(j′)=u″_(j′)∨w_(j′) is established, for example. For example, the OR operation unit 623-h performs an OR operation between and [u″_(j′)] and [w_(j′)] for j′=1, . . . , N_(min) by secure computation, obtains [w′_(j′)] in which w′_(j′)=u″_(j′)∨w_(j′) is concealed, and obtains a set of [w′₁], . . . , [w′_(Nmin)] as the concealed operation result [w′]. Alternatively, the OR operation unit 623-h may obtain the concealed operation result [w′] in which w′₁, . . . , w′_(Nmin) are collectively concealed, by secure computation using the concealed operation result [w] and the concealed operation result [u″]. The concealed operation result [w′] is stored in the storage 128-h (step S6231-h).

The OR operation unit 623-h (second OR operation unit) obtains a concealed operation result [e′_(i)], in which an operation result e′₁=(e′_(i,1), . . . , e′_(i,Nmin)) is concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′], which are read from the storage 128-h, and outputs the concealed operation result [e′_(i)]. Here, e′_(i,j′)=d₁ is established when at least one of e_(i,j′)=a₁ and w′_(j′)=b′₁ is satisfied and e′_(i,j′)=d₀ is established when both of e_(i,j′)=a₀ and w′_(j′)=b′₀ are satisfied for j′1, . . . , N_(min). e′_(i,j′)∈{d₀, d₁}, in which d₀=0 and d₁=1, for example. When a₀=0, a₁=1, b′₀=0, b′₁=1, d₀=0, and d₁=1, e′_(i,j′)=e_(i,j′)∨w′_(j′) is established, for example. For example, the OR operation unit 623-h performs an OR operation between [e_(i,j′)] and [w′_(j′)] for j′1, . . . , N_(min) by secure computation, obtains [e′_(i,j′)] in which e′_(i,j′)=e_(i,j′)∨w′_(j′) is concealed, and obtains a set of [e′_(i,1)], . . . , [e′_(i,Nmin)] as the concealed operation result [e′_(i)]. Alternatively, the OR operation unit 623-h may obtain the concealed operation result [e′₁] in which e′_(i,1), . . . , e′_(i,Nmin) are collectively concealed, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]. The concealed operation result [e′_(i)] is stored in the storage 128-h (step S6232-h).

The concatenation unit 628-h obtains a concealed operation result [y_(i)], in which an operation result y_(i) is concealed, by secure computation using at least the concealed operation result [e′_(i)] and outputs the concealed operation result [y_(i)]. When N≤N(i), the concatenation unit 628-h outputs the concealed operation result [e′_(i)] as the concealed operation result [y_(i)]. When N>N(i), the concatenation unit 628-h obtains the concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u″_(N(i)+1), . . . , u″_(N)) is concealed, by secure computation using at least a part of the concealed operation result [e′_(i)] and the concealed operation result [u″] and outputs the concealed operation result [y_(i)]. [y_(i)] may be a set of concealed results obtained by concealing respective elements of y_(i) or may be obtained by collectively concealing all elements of y_(i). The concealed operation result [y_(i)] is stored in the storage 128-h (step S628-h).

After that, the processing of step S527-h and the processing of step S1292-h, which is described in the first embodiment, are executed.

Specific Example

The followings are obtained when processing of the present embodiment is described in a separate manner to the case of N>N(i) and the case of N≤N(i).

<<Case of N>N(i)>>

m, n, t(i), N, and N(i) are positive integers, i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤(i). The equality determination unit 521-h obtains a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), by secure computation using the concealed search target word [x_(i)] and the concealed search word [k] and outputs the concealed operation result [e_(i)]. The wildcard determination unit 522-h obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is a wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not a wildcard character, by secure computation using the concealed search word [k] and outputs the concealed operation result [w]. The null determination unit 625-h obtains a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ s established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, by secure computatioi using the concealed search word [k] and outputs the concealed operation result [u″]. The OR operation unit 623-h obtains a concealed operation result [w′] which an operation result w′=(w′₁, . . . , w′_(N(i))) is concealed, the operation result w′ in which w′_(j(i))=b′₁ is established when at least one of u″_(j(i))=c₁ and w_(j(i))=b₁ is satisfied and w′_(j(i))=b′₀ is established when both of u″_(j(i))=c₀ and w_(j(i))=b₀ are satisfied, by secure computation using at least a part of the concealed operation result [w] and the concealed operation result [u″] and outputs the concealed operation result [w′]. The OR operation unit 623-h obtains a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′₁ in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w′_(j(i))=b′₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w′_(j(i))=b′₀ are satisfied, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′] and outputs the concealed operation result [e′_(i)]. The concatenation unit 628-h obtains a concealed operation result [y_(i)], in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u″_(N(i)+)1, . . . , u″_(N)) is concealed, by secure computation using at least a part of the concealed operation result [e′_(i)] and the concealed operation result [u″] and outputs the concealed operation result [y_(i)]. For example, as illustrated in FIG. 26 , when a₀=0, a₁=1, b₀=0, b₁=1, b′₀=0, b′₁=1, c₀=0, c₁=1, d₀=0, d₁=1, g₀=0, g₁=1, k_(n−1) is a wildcard character “*”, and x_(1,j)=k_(j) is satisfied for j=1, . . . , n−2, n, e₁=(1, 1, . . . , 1, 0, 1, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, 0, . . . , 0), u″=(0, 0, . . . , 0, 0, 0, 1, 1, . . . , 1, 1), w′=(0, 0, . . . , 1, 0, 1, 1, . . . , 1), e′₁=(1, 1, . . . , 1, 1, 1, 1, 1, . . . , 1), and y₁=(1, 1, . . . , 1, 1, 1, 1, . . . , 1, 1). Therefore, z₁=1 is established.

<<Case of N≤N(i)>>

m, n, t(i), N, and N(i) are positive integers, i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, and t(i)≤N(i). The equality determination unit 521-h obtains a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), by secure computation using the concealed search target word [x_(i)] and the concealed search word [k] and outputs the concealed operation result [e_(i)]. The wildcard determination unit 522-h obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is a wildcard character and w_(j)=b₀ is established when k_(j) is not a wildcard character, by secure computation using the concealed search word [k] and outputs the concealed operation result [w]. The null determination unit 625-h obtains a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u′_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, by secure computation using the concealed search word [k] and outputs the concealed operation result [u″]. The OR operation unit 623-h obtains a concealed operation result [w] in which an operation result w′=(w′₁, . . . , w′_(N)) is concealed, the operation result w′ in which w′_(j)=b′₁ is established when at least one of u″_(j)=c₁ and w_(j)=b₁ is satisfied and w′_(j)=b′₀ is established when both of u″_(j)=c₀ and w_(j)=b₀ are satisfied, by secure computation using the concealed operation result [w] and the concealed operation result [e″] and outputs the concealed operation result [w′]. The OR operation unit 623-h obtains a concealed operation result [y_(i)] in which an operation result e′_(i)=y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result e′_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w′_(j)=b′₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w′_(j)=b′₀ are satisfied, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′] and outputs the concealed operation result [y_(i)]. For example, as illustrated in FIG. 27 , when a₀=0, a₁=1, b₀=0, b₁=1, b′₀=0, b′₁=1, c₀=0, c₁=1, d₀=0, d₁=1, g₀=0, g₁=1, k_(n−1) is a wildcard character “*”, x_(1,j)=k_(j) is satisfied for j=1, . . . , n−2, n, and N=N(2), e₂=(1, 1, . . . , 1, 0, 1, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, 0, . . . , 0), u″=(0, 0, . . . , 0, 0, 0, 1, 1, . . . , 1), w′=(0, 0, . . . , 0, 1, 0, 1, 1, . . . , 1), e′₂=(1, 1, . . . , 1, 1, 1, 1, 1, . . . , 1), and y₂=(1, 1, . . . , 1, 1, 1, 1, 1, . . . , 1). Therefore, z₁=1 is established. For example, as illustrated in FIG. 28 , when N<N(3), e₃=(1, 1, . . . , 1, 0, 0, 1, 1, . . . , 1), w=(0, 0, . . . , 0, 1, 0, 0, 0, . . . , 0), u″=(0, 0, . . . , 0, 0, 0, 1, 1, . . . , 1), w′=(0, 0, . . . , 0, 1, 0, 1, 1, . . . , 1), e′₃=(1, 1, . . . , 1, 1, 0, 1, 1, . . . , 1), and y₃=(1, 1, . . . , 1, 1, 0, 1, 1, . . . , 1). Therefore, z₃=0 is established.

Characteristics of Present Embodiment

As described above, even when the search word k may include a wildcard character or even when at least one of the search word k and the search target word x_(i) may include a null character, prefix search of concealed database can be performed while concealing the search word including the wildcard character, in the present embodiment. Further, prefix search can be performed irrespective of whether or not the length of the concealed search target word and the length of the concealed search word are the same as each other, in the present embodiment. Furthermore, match retrieval of concealed database can be performed with less communication volume than that of related art.

[Modification Etc.]

Note that the present invention is not limited to the above-described embodiments. For example, the retrieval device may directly output the concealed operation result [y_(i)], or may execute secure computation which is different from that of step S127-h with respect to the concealed operation result [y_(i)] and output the obtained result.

The secure computation system is not limited as described above. As long as equality determination and logical operations (OR operation, AND operation) based on secure computation are possible, secure computation based on the secret sharing scheme may be used or secure computation based on the homomorphic cryptosystem may be used. For example, a secure computation system described below may be employed.

-   Reference Literature 1: Ivan Damgard, Matthias Fitzi, Eike Kiltz,     Jesper Buus Nielsen, Tomas Toft, “Unconditionally Secure     Constant-Rounds Multi-party Computation for Equality, Comparison,     Bits and Exponentiation”, TCC 2006, pp. 285-304. -   Reference Literature 2: Koji Chida, Koki Hamada, Dai Ikarashi,     Katsumi Takahashi, “A Three-party Secure Function Evaluation with     Lightweight Verifiability Revisited”, In CSS, 2010. -   Reference Literature 3: Takashi Nishide, Kazuo Ohta, “Multiparty     computation for interval, equality, and comparison without     bit-decomposition protocol”, PKC, pp. 343-360, 2007.

The above-described various kinds of processing may be executed, in addition to being executed in chronological order in accordance with the descriptions, in parallel or individually depending on the processing power of a device that executes the processing or when necessary. In addition, it goes without saying that changes may be made as appropriate without departing from the spirit of the present invention.

The above-described each device is embodied by execution of a predetermined program by a general- or special-purpose computer having a processor (hardware processor) such as a central processing unit (CPU), memories such as random-access memory (RAM) and read-only memory (ROM), and the like, for example. The computer may have one processor and one memory or have multiple processors and memories. The program may be installed on the computer or pre-recorded on the ROM and the like. Also, some or all of the processing units may be embodied using an electronic circuit that implements processing functions without using programs, rather than an electronic circuit (circuitry) that implements functional components by loading of programs like a CPU. An electronic circuit constituting a single device may include multiple CPUs.

When the above-described configurations are implemented by a computer, the processing details of the functions supposed to be provided in each device are described by a program. As a result of this program being executed by the computer, the above-described processing functions are implemented on the computer. The program describing the processing details can be recorded on a computer-readable recording medium. An example of the computer-readable recording medium is a non-transitory recording medium. Examples of such a recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and semiconductor memory.

The distribution of this program is performed by, for example, selling, transferring, or lending a portable recording medium such as a DVD or a CD-ROM on which the program is recorded. Furthermore, a configuration may be adopted in which this program is distributed by storing the program in a storage device of a server computer and transferring the program to other computers from the server computer via a network.

The computer that executes such a program first, for example, temporarily stores the program recorded on the portable recording medium or the program transferred from the server computer in a storage device thereof. At the time of execution of processing, the computer reads the program stored in the storage device thereof and executes the processing in accordance with the read program. As another mode of execution of this program, the computer may read the program directly from the portable recording medium and execute the processing in accordance with the program and, furthermore, every time the program is transferred to the computer from the server computer, the computer may sequentially execute the processing in accordance with the received program. A configuration may be adopted in which the transfer of a program to the computer from the server computer is not performed and the above-described processing is executed by so-called application service provider (ASP)-type service by which the processing functions are implemented only by an instruction for execution thereof and result acquisition.

Instead of executing a predetermined program on the computer to implement the processing functions of the present devices, at least some of the processing functions may be implemented by hardware.

DESCRIPTION OF REFERENCE NUMERALS

-   -   1-4 retrieval system     -   12-1 to 12-H, 22-1 to 22-H, 32-1 to 32-H, 42-1 to 42-H retrieval         device 

What is claimed is:
 1. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(j)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 2. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [μ_(i)] in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, the operation result μ_(i) in which μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character, θ₀ and θ₁ are elements of a set {θ₀, θ₁}, and θ₀≠θ₁, by secure computation using the concealed search target word [x_(i)]; obtain a concealed operation result [v_(i)] in which an operation result v_(i) (v_(i,1), . . . , v_(i,N)) is concealed, the operation result v_(i) in which v_(i,j)=ρ₁ is established when both of w_(j)=b_(j) and μ_(i,j)=θ₁ are satisfied and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied, ρ₀ and ρ₁ are elements of a set {ρ₀, ρ₁}, and ρ₀≠ρ₁, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and v_(i,j)=ρ₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and v_(i,j)=ρ₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [v_(i)]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 3. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀ b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [u] in which an operation result u=(u₁, . . . , u_(N)) is concealed, the operation result u in which u_(j)=c₁ is established when k_(j) is a null character and u_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, w_(j)=b₁, and u_(j)=c₁ is satisfied and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, w_(j)=b₀, and u_(j)=c₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)], the concealed operation result [w], and the concealed operation result [u]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 4. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [u] in which an operation result u=(u₁, . . . , u_(N)) is concealed, the operation result u in which u_(j)=c₁ is established when k_(j) is a null character and u_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [μ_(i)] in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, the operation result μ_(i) in which μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character, θ₀ and θ₁ are elements of a set {θ₀, θ₁}, and θ₀≠θ₁, by secure computation using the concealed search target word [x_(i)]; obtain a concealed operation result [v_(i)] in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, the operation result v_(i) in which v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁ are satisfied and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied, ρ₀ and ρ₁ are elements of a set {ρ₀, ρ₁}, and ρ₀≠ρ₁, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, v_(i,j)=ρ₁, and u_(j)=c₁ is satisfied and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, v_(i,j)=ρ₀, and u_(j)=c₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)], the concealed operation result [u], and the concealed operation result [v_(i)]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 5. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N>N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i), the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is the wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [u′] in which operation results u′_(N(i)+1), . . . , u′_(N) are concealed, the operation results u′_(N(i)+1), . . . , u′_(N) in which u′_(j″(i))=c₁ is established when k_(j″(i)) is a null character and u′_(j″(i))=c₀ is established when k_(j″(i)) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using at least a part of the concealed search word [k]; obtain a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w_(j(i))=b₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w_(j(i))=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u′_(N(i)+1), . . . , u′_(N)) is concealed, by secure computation using the concealed operation result [u′] and the concealed operation result [e′_(i)]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 6. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N<N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, t(i)≤N(i), and j″(i)=N+1, . . . , N(i), the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,1(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N)) is concealed, the operation result e′_(i) in which e′_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and e′_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtain a concealed operation result [μ′_(i)] in which an operation result μ′_(i)=(μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, the operation result μ′_(i) in which μ′_(i,j″(i))=d₁ is established when x_(i,j″(i)) is a null character and μ′_(i,j″(i))=d₀ is established when x_(i,j″(i)) is not a null character, by secure computation using at least a part of the concealed search target word [x_(i)]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N(i)))=(e′_(i,1), . . . , e′_(i,N), μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, by secure computation using the concealed operation result [e′_(i)] and the concealed operation result [μ′_(i)]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 7. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N≤N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, and t(i)≤N(i), the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtains a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [w′] in which an operation result w′=(w′₁, . . . , w′_(N)) is concealed, the operation result w′ in which w′_(j)=b′₁ is established when at least one of u″_(j)=c₁ and w_(j)=b₁ is satisfied and w′_(j)=b′₀ is established when both of u″_(j)=c₀ and w_(j)=b₀ are satisfied, b′₀ and b′₁ are elements of a set {b′₀, b′₁}, and b′₀≠b′₁, by secure computation using the concealed operation result [w] and the concealed operation result [u″]; a second OR operation unit that obtains a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w′_(j)=b′₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w′_(j)=b′₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]; and obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 8. A retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N>N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i), the retrieval device comprising: a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,1(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)]; and processing circuitry configured to receive an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtain a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtain a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is the wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtain a concealed operation result [w′] in which an operation result w′=(w′₁, . . . , w′_(N(i))) is concealed, the operation result w′ in which w′_(j(i))=b′₁ is established when at least one of u″_(j(i))=c₁ and w_(j(i))=b₁ is satisfied and w′_(j(i))=b′₀ is established when both of u″_(j(i))=c₀ and w_(j(i))=b₀ are satisfied, b′₀ and b′₁ are elements of a set {b′₀, b′₁} and b′₀≠b′₁, by secure computation using at least a part of the concealed operation result [w] and the concealed operation result [u″]; obtain a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w′_(j(i))=b′₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w′_(j(i))=b′₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]; obtain a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u″_(N(i)+1), . . . , u″_(N)) is concealed, by secure computation using at least a part of the concealed operation result [e′_(i)] and the concealed operation result [u″]; obtain a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and output the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 9. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)] wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; and obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 10. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [μ_(i)] in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, the operation result μ_(i) in which μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character, θ₀ and θ₁ are elements of a set {θ₀, θ₁}, and θ₀≠θ₁, by secure computation using the concealed search target word [x_(i)]; obtaining a concealed operation result [v_(i)] in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, the operation result v_(i) in which v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁ are satisfied and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied, ρ₀ and ρ₁ are elements of a set {ρ₀, ρ₁}, and ρ₀≠ρ₁, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and v_(i,j)=ρ₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and v_(i,j)=ρ₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [v_(i)]; and obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 11. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u] in which an operation result u=(u₁, . . . , u_(N)) is concealed, the operation result u in which u_(j)=c₁ is established when k_(j) is a null character and u_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, w_(j)=b₁, and u_(j)=c₁ is satisfied and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, w_(j)=b₀, and u_(j)=c₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)], the concealed operation result [w], and the concealed operation result [u]; and obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 12. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u] in which an operation result u=(u₁, . . . , u_(N)) is concealed, the operation result u in which u_(j)=c₁ is established when k_(j) is a null character and u_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [μ_(i)] in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, the operation result μ_(i) in which μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character, θ₀ and θ₁ are elements of a set {θ₀, θ₁}, and θ₀≠θ₁, by secure computation using the concealed search target word [x_(i)]; obtaining a concealed operation result [v_(i)] in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, the operation result v_(i) in which v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁, are satisfied and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied, ρ₀ and ρ₁ are elements of a set {ρ₀, ρ₁}, and ρ₀≠ρ₁, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, v_(i,j)=ρ₁, and u_(j)=c₁ is satisfied and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, v_(i,j)=ρ₀, and u_(j)=c₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)], the concealed operation result [u], and the concealed operation result [v_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 13. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N>N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is the wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u′] in which operation results u′_(N(i)+1), . . . , u′_(N) are concealed, the operation results u′_(N(i)+1), . . . , u′_(N) in which u′_(j″(i))=c₁ is established when k_(j″(i)) is a null character and u′_(j″(i))=c₀ is established when k_(j″(i)) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using at least a part of the concealed search word [k]; obtaining a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w_(j(i))=b₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w_(j(i))=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u′_(N(i)+1), . . . , u′_(N)) is concealed, by secure computation using the concealed operation result [u′] and the concealed operation result [e′_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 14. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N<N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, t(i)≤N(i), and j″(i)=N+1, . . . , N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N)) is concealed, the operation result e′_(i) in which e′_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and e′_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtaining a concealed operation result [μ′_(i)] in which an operation result μ′_(i)=(μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, the operation result μ′_(i) in which μ′_(i,j(i))=d₁ is established when x_(i,j″(i)) is a null character and μ′_(i,j″(i))=d₀ is established when x_(i,j″(i)) is not a null character, by secure computation using at least a part of the concealed search target word [x_(i)]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N(i)))=(e′_(i,1), . . . , e′_(i,N), μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, by secure computation using the concealed operation result [e′_(i)] and the concealed operation result [μ′_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 15. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), N, and N(i) am positive integers, N≤N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, and t(i)≤N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)] wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [w′] in which an operation result w′=(w′₁, . . . , w′_(N)) is concealed, the operation result w′ in which w′_(j)=b′₁ is established when at least one of u″_(j)=c₁ and w_(j)=b₁ is satisfied and w′_(j)=b′₀ is established when both of u″_(j)=c₀ and w_(j)=b₀ are satisfied, b′₀ and b′₁ are elements of a set {b′₀, b′₁}, and b′₀≠b′₁, by secure computation using the concealed operation result [w] and the concealed operation result [u″]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w′_(j)=b′₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w′_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 16. A retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N>N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is the wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [w′] in which an operation result w′=(w′₁, . . . , w′_(N(i))) is concealed, the operation result w′ in which w′_(j(i))=b′₁ is established when at least one of u″_(j(i))=c₁ and w_(j(i))=b₁ is satisfied and w′_(j(i))=b′₀ is established when both of u″_(j(i))=c₀ and w_(j(i))=b₀ are satisfied, b′₀ and b′₁ are elements of a set {b′₀, b′₁}, and b′₀≠b′₁, by secure computation using at least a part of the concealed operation result [w] and the concealed operation result [u″]; obtaining a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w′_(j(i))=b′₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w′_(j(i))=b′₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u″_(N(i)+1), . . . , u″_(N)) is concealed, by secure computation using at least a part of the concealed operation result [e′_(i)] and the concealed operation result [u″]: obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 17. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device compress a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 18. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [μ_(i)] in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, the operation result μ_(i) in which μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character, θ₀ and θ₁ are elements of a set {θ₀, θ₁}, and θ₀≠θ₁, by secure computation using the concealed search target word [x_(i)]; obtaining a concealed operation result [v_(i)] in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, the operation result v_(i) in which v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁ are satisfied and v_(i,j)ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied, ρ₀ and ρ₁ are elements of a set {ρ₀, ρ₁}, and ρ₀≠ρ₁, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j) d₁ is established when at least one of e_(i,j)=a₁ and v_(i,j)=ρ₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and v_(i,j)=ρ₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [v_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 19. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u] in which an operation result u=(u₁, . . . , u_(N)) is concealed, the operation result u in which u_(j)=c₁ is established when k_(j) is a null character and u_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, w_(j)=b₁, and u_(j)=c₁ is satisfied and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, w_(j)=b₀, and u_(j)=c₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)], the concealed operation result [w], and the concealed operation result [u]; and obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 20. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), and N are positive integers, i=1, . . . , m, j=1, . . . , N, n≤N, and t(i)≤N, the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u] in which an operation result u=(u₁, . . . , u_(N)) is concealed, the operation result u in which u_(j)=c₁ is established when k_(j) is a null character and u_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [μ_(i)] in which an operation result μ_(i)=(μ_(i,1), . . . , μ_(i,N)) is concealed, the operation result μ_(i) in which μ_(i,j)=θ₀ is established when x_(i,j) is a null character and μ_(i,j)=θ₁ is established when x_(i,j) is not a null character, θ₀ and θ₁ are elements of a set {θ₀, θ₁}, and θ₀≠θ₁, by secure computation using the concealed search target word [x_(i)]; obtaining a concealed operation result [v_(i)] in which an operation result v_(i)=(v_(i,1), . . . , v_(i,N)) is concealed, the operation result v_(i) in which v_(i,j)=ρ₁ is established when both of w_(j)=b₁ and μ_(i,j)=θ₁ are satisfied and v_(i,j)=ρ₀ is established when at least one of w_(j)=b₀ and μ_(i,j)=θ₀ is satisfied, ρ₀ and ρ₁ are elements of a set {ρ₀, ρ₁}, and ρ₀≠ρ₁, by secure computation using the concealed operation result [w] and the concealed operation result [μ_(i)]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least any one of e_(i,j)=a₁, v_(i,j)=ρ₁, and u_(j)=c₁ is satisfied and y_(i,j)=d₀ is established when all of e_(i,j)=a₀, v_(i,j)=ρ₀, and u_(j)=c₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)], the concealed operation result [u], and the concealed operation result [v_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . y_(i,N)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,N)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 21. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs exact match search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N>N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is the wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u′] in which operation results u′_(N(i)+1), . . . , u′_(N) are concealed, the operation results u′_(N(i)+1), . . . , u′_(N) in which u′_(j″(i))=c₁ is established when k_(j″(i)) is a null character and u′_(j″(i))=c₀ is established when k_(j″(i)) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using at least a part of the concealed search word [k]; obtaining a concealed operation result [e′_(i)] in which an operation result e′_(i)(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w_(j(i))=b₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w_(j(i))=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u′_(N(i)+1), . . . , u′_(N)) is concealed, by secure computation using the concealed operation result [u′] and the concealed operation result [e′_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 22. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device that performs exact match search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N<N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, t(i)≤N(i), and j″(i)=N+1 . . . , N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) an each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [e′_(i)] in which an operation result e′_(i)=(e′_(i,1), . . . , e′_(i,N)) is concealed, the operation result e′_(i) in which e′_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w_(j)=b₁ is satisfied and e′_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w_(j)=b₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w]; obtaining a concealed operation result [μ′_(i)] in which an operation result μ′_(i)=(μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, the operation result μ′_(i) in which μ′_(i,j″(i))=d₁ is established when x_(i,j″(i)) is a null character and μ′_(i,j″(i))=d₀ is established when x_(i,j″(i)) is not a null character, by secure computation using at least a part of the concealed search target word [x_(i)]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N(i)))=(e′_(i,1), . . . , e′_(i,N), μ′_(i,N+1), . . . , μ′_(i,N(i))) is concealed, by secure computation using the concealed operation result [e′_(i)] and the concealed operation result [μ′_(i)]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 23. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), N, and N(i) am positive integers, N≤N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), n≤N, and t(i)≤N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method, performed by processing circuitry of the retrieval device comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N)) is concealed, the operation result e_(i) in which e_(i,j)=a₁ is established when x_(i,j) is k_(j) and e_(i,j)=a₀ is established when x_(i,j) is not k_(j), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N)) is concealed, the operation result w in which w_(j)=b₁ is established when k_(j) is the wildcard character and w_(j)=b₀ is established when k_(j) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [w′] in which an operation result w′=(w′₁, . . . , w′_(N)) is concealed, the operation result w′ in which w′_(j)=b′₁ is established when at least one of u″_(j)=c₁ and w_(j)=b₁ is satisfied and w′_(j)=b′₀ is established when both of u″_(j)=c₀ and w_(j)=b₀ are satisfied, b′₀ and b′₁ are elements of a set {b′₀, b′₁}, and b′₀≠b′₁, by secure computation using the concealed operation result [w] and the concealed operation result [u″]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N)) is concealed, the operation result y_(i) in which y_(i,j)=d₁ is established when at least one of e_(i,j)=a₁ and w′_(j)=b′₁ is satisfied and y_(i,j)=d₀ is established when both of e_(i,j)=a₀ and w′_(j)=b′₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices.
 24. A non-transitory computer-readable recording medium that stores a program for making a computer function of a retrieval method of a retrieval device among a plurality of retrieval devices of a system that further includes a request device, wherein the plurality of retrieval devices are configured to communicate with the request device over a network, wherein each of the plurality of retrieval devices performs prefix search by secure computation in which m, n, t(i), N, and N(i) are positive integers, N>N(i), i=1, . . . , m, j=1, . . . , N, j(i)=1, . . . , N(i), j″(i)=N(i)+1, . . . , N, n≤N, and t(i)≤N(i), the retrieval device comprises a storage that stores a concealed database [x₁], . . . , [x_(m)] including a concealed search target word [x_(i)] in which a search target word x_(i)=(x_(i,1), . . . , x_(i,t(i)), . . . , x_(i,N)) is concealed from each of the plurality of retrieval devices, the search target word x_(i) including t(i) pieces of characters x_(i,1), . . . , x_(i,t(i)), wherein the concealed search target word [x_(i)] is a secret sharing value of the search target word x_(i) and each of the plurality of retrieval devices stores the different concealed search target word [x_(i)], wherein the retrieval method comprises: receiving an input of a concealed search word [k] from the request device via the network, such that the concealed search word [k] is a secret sharing value of a search word k=(k₁, . . . , k_(n), . . . , k_(N)) and each of the plurality of retrieval devices receives the different concealed search word [k] from the request device over the network, and in which the search word k=(k₁, . . . , k_(n), . . . , k_(N)) is concealed from each of the plurality of retrieval devices, the search word k including n pieces of characters k₁, . . . , k_(n) including a wildcard character; obtaining a concealed operation result [e_(i)] in which an operation result e_(i)=(e_(i,1), . . . , e_(i,N(i))) is concealed, the operation result e_(i) in which e_(i,j(i))=a₁ is established when x_(i,j(i)) is k_(j(i)) and e_(i,j(i))=a₀ is established when x_(i,j(i)) is not k_(j(i)), a₀ and a₁ are elements of a set {a₀, a₁}, and a₀≠a₁, by secure computation using the concealed search target word [x_(i)] and the concealed search word [k]; obtaining a concealed operation result [w] in which an operation result w=(w₁, . . . , w_(N(i))) is concealed, the operation result w in which w_(j(i))=b₁ is established when k_(j(i)) is the wildcard character and w_(j(i))=b₀ is established when k_(j(i)) is not the wildcard character, b₀ and b₁ are elements of a set {b₀, b₁}, and b₀≠b₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [u″] in which an operation result u″=(u″₁, . . . , u″_(N)) is concealed, the operation result u″ in which u″_(j)=c₁ is established when k_(j) is a null character and u″_(j)=c₀ is established when k_(j) is not a null character, c₀ and c₁ are elements of a set {c₀, c₁}, and c₀≠c₁, by secure computation using the concealed search word [k]; obtaining a concealed operation result [w′] in which an operation result w′=(w′₁, . . . , w′_(N(i))) is concealed, the operation result w′ in which w′_(j(i))=b′₁ is established when at least one of u″_(j(i))=c₁ and w_(j(i))=b₁ is satisfied and w′_(j(i))=b′₀ is established when both of u″_(j(i))=c₀ and w_(j(i))=b₀ are satisfied, b′₀ and b′₁ are elements of a set {b′₀, b′₁}, and b′₀≠b′₁, by secure computation using at least a part of the concealed operation result [w] and the concealed operation result [u″]; obtaining a concealed operation result [e′_(i)] in which an operation result e′_(i)(e′_(i,1), . . . , e′_(i,N(i))) is concealed, the operation result e′_(i) in which e′_(i,j(i))=d₁ is established when at least one of e_(i,j(i))=a₁ and w′_(j(i))=b′₁ is satisfied and e′_(i,j(i))=d₀ is established when both of e_(i,j(i))=a₀ and w′_(j(i))=b′₀ are satisfied, d₀ and d₁ are elements of a set {d₀, d₁}, and d₀≠d₁, by secure computation using the concealed operation result [e_(i)] and the concealed operation result [w′]; obtaining a concealed operation result [y_(i)] in which an operation result y_(i)=(y_(i,1), . . . , y_(i,N))=(e′_(i,1), . . . , e′_(i,N(i)), u″_(N(i)+1), . . . , u″_(N)) is concealed, by secure computation using at least a part of the concealed operation result [e′_(i)] and the concealed operation result [u″]; obtaining a concealed match determination result [z_(i)] in which a match determination result z_(i) is concealed from the retrieval device, the match determination result z_(i) in which z_(i)=g₁ is established when y_(i,1)= . . . y_(i,Nmax)=d₁ is satisfied and z_(i)=g₀ is established when y_(i,1)= . . . =y_(i,Nmax)=d₁ is not satisfied, g₀ and g₁ are elements of a set {g₀, g₁}, and g₀≠g₁, by secure computation using the concealed operation result [y_(i)]; and outputting the concealed match determination result [z_(i)] to the request device via the network, wherein N_(max)=N(i) is established when N≤N(i), and N_(max)=N is established when N>N(i), and wherein the request device is configured to receive [z_(i)] transmitted from at least a predetermined number of the retrieval devices. 